// global style
body {
  color: #212121;
  font-size: 16px;
  background-color: #f8f8f8;
}

// rewrite weui style
.weui-cells {
  margin-top: 0;
  &::after {
    display: none;
  }
}

.weui-cells_checkbox {
  .weui-cell {
    justify-content: center;
    &::before,
    &::after {
      display: none;
    }
  }
  .weui-cell__bd {
    -webkit-box-flex: inherit;
    -webkit-flex: inherit;
    flex: inherit;
  }
  .weui-check:checked + .weui-icon-checked:before {
    color: #ffae32;
  }
}

.weui-cell {
  background-color: #fff;
  .weui-label {
    width: auto;
  }
  .weui-input {
    text-align: right;
  }
  .weui-select {
    direction: rtl;
    &:invalid {
      color: #909090;
    }
    &:hover,
    &:active,
    &:focus {
      color: #212121;
    }
  }
}

.weui-btn {
  background-color: #ffae32;
}

.weui-dialog__hd {
  position: relative;
  color: #888;
  font-size: 14px;
  &::after {
    content: " ";
    position: absolute;
    left: 0;
    bottom: 0;
    right: 0;
    height: 1px;
    border-top: 1px solid #f9f9f9;
    color: #d5d5d6;
    -webkit-transform-origin: 0 0;
    transform-origin: 0 0;
    -webkit-transform: scaleY(.5);
    transform: scaleY(.5);
  }
}

.weui-dialog__bd {
  color: #212121;
}

.weui-check__label::before {
  display: none;
}

.weui-dialog__ft {
  &::after {
    border-color: #f9f9f9;
  }
  .weui-dialog__btn::after {
    border-color: #f9f9f9;
  }
}

.weui-dialog__btn_primary {
  color: #ffae32;
}

// custom style
.inn-tip {
  padding: 10px 15px;
  color: #f2a75a;
  font-size: 14px;
}

.inn-tip-inner {
  background-color: #fff;
}

.inn-dialog-ft {
  position: relative;
  padding: 10px 15px;
  font-size: 14px;
  color: #808080;
  &::before {
    content: " ";
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    height: 1px;
    border-top: 1px solid #f9f9f9;
    color: #d5d5d6;
    -webkit-transform-origin: 0 0;
    transform-origin: 0 0;
    -webkit-transform: scaleY(.5);
    transform: scaleY(.5);
  }
}